package com.sunfeng.gulimall.product.dao;

import com.sunfeng.gulimall.product.entity.AttrEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品属性
 * 
 * @author sunfeng
 * @email 18354680214@163.com
 * @date 2021-07-16 22:45:54
 */
@Mapper
public interface AttrDao extends BaseMapper<AttrEntity> {

    /**
     *  根据属性ids 获取可搜索的属性ids
     * @param attrIds
     * @return
     */
    List<Long> selectSearchAttrIds(@Param("attrIds") List<Long> attrIds);
}
